﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sripirom.ATS.Core.UnitOfWork;

namespace Sripirom.ATS.Core.Domain
{
    public interface ILoggerRepository<T, TId> 
        where T : IAggregateRoot
    {
        
        TId New(T entity);
        void Save(T entity);

        T FindBy(TId id);

        void Flush();
        void Evict(T entity);
       
    }
}
